const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  // 登录状态
  isLogin: state => state.user.token,
  // 用户ID
  userId: state => state.user.userId,
  // 登录弹出框
  loginFormVisible: state => state.user.loginFormVisible,
}
export default getters
